import cv2
img=cv2.imread('x.jpg')
img_resized=cv2.resize(img,(1200,1200))
cv2.imshow('showing',img_resized)
cv2.waitKey()

circle_img=cv2.imread('quanwei.jpg')

circle_img_resized=cv2.resize(circle_img,(1200,1200))
cv2.imshow('circle_image',circle_img_resized)
cv2.waitKey(0)



result_and=cv2.bitwise_and(img_resized,circle_img_resized)
cv2.imshow('showing_and',result_and)
cv2.waitKey(0)

import cv2
result_or=cv2.bitwise_or(img_resized,circle_img_resized)
cv2.imshow('showing_or',result_or)
cv2.waitKey(0)

result_not_1=cv2.bitwise_not(img_resized)
cv2.imshow('showing_not_1',result_not_1)
cv2.waitKey(0)
result_not_2=cv2.bitwise_not(circle_img_resized)
cv2.imshow('showing_not_2',result_not_2)
cv2.waitKey(0)
cv2.destroyAllWindows()